package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.EcologyPoolFlowTypeEnum;
import com.sc.nft.enums.EcologyPoolTypeEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 刘国航
 * @since 2024/7/13
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class EcologyPoolRecordRequest extends PageRequest {

    @ApiModelProperty("品牌名称")
    private String daoName;

    @ApiModelProperty("生态池类型")
    @NotNull(message = "生态池类型不能为空")
    private EcologyPoolTypeEnum poolType;

    @ApiModelProperty("流水类型")
    private EcologyPoolFlowTypeEnum flowType;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

}
